﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace SCS.Core.Models.CollectionFontend
{
    public class ForgotCollection
    {
        [Required(ErrorMessage = "User Name is required")]
        [DisplayName("User Name")]
        [StringLength(250)]
        public string UserName { get; set; }

        [Required(ErrorMessage = "Email Address is required")]
        [DisplayName("Email")]
        [RegularExpression(@"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}", ErrorMessage = "Email is is not valid.")]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }

       
    }
}